package com.lou.springboot.service;

import com.lou.springboot.common.PageResult;
import com.lou.springboot.entity.BlogTagCount;
import com.lou.springboot.entity.Tag;
import com.lou.springboot.utils.PageUtil;

import java.util.List;

/**
 * Created by Guaguaerhao on 2020/7/12 11:47
 */
public interface BlogTagService {
    boolean saveTag(String tagName);
    boolean deleteBatchTag(Integer[] ids);
    boolean updateTag(Integer tagId, String tagName);
    Tag getTagById(Integer tagId);
    PageResult getTagsList(PageUtil pageUtil);
    List<BlogTagCount> getBlogTagCountForIndex();
}
